/*
 * @(#)FormDataElement.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form.bean;

import java.util.List;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  FormDataElement.java

  This class is the serializable bean reflecting business logic uses.

    @author           Scott Tong
    @company          DCIVision Limited
    @creation date    07/01/2004
    @version          $Revision: 1.10 $
*/

public class FormDataElement extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.10 $";

  static final long serialVersionUID = -2651775437665663074L;

  private Integer pageID = null;
  private Integer sectionID = null;
  private Integer submissionID = null;
  private Integer elementID = null;
  private Integer workflowProgressID = null;
  private Integer seq = null;
  private String submitFlag = null;  //1. save Draft: submitFlag = D; 2.save: submitFlag= S; 3.Edit in form monitoring: submitFlag = FMR;

  private List formDataList;

  public FormDataElement() {
    super();
  }

  public Integer getPageID() {
    return(this.pageID);
  }

  public void setPageID(Integer pageID) {
    this.pageID = pageID;
  }

  public Integer getSectionID() {
    return(this.sectionID);
  }

  public void setSectionID(Integer sectionID) {
    this.sectionID = sectionID;
  }

  public Integer getSubmissionID() {
    return(this.submissionID);
  }

  public void setSubmissionID(Integer submissionID) {
    this.submissionID = submissionID;
  }

  public Integer getElementID() {
    return(this.elementID);
  }

  public void setElementID(Integer elementID) {
    this.elementID = elementID;
  }

  public Integer getWorkflowProgressID() {
    return(this.workflowProgressID);
  } 

  public void setWorkflowProgressID(Integer workflowProgressID) {
    this.workflowProgressID = workflowProgressID;
  }

  public Integer getSeq() {
    return(this.seq);
  }

  public void setSeq(Integer seq) {
    this.seq = seq;
  }
  
  /** Getter for property formDataList.
     * @return Value of property formDataList.
     */
  public List getFormDataList() {
    return this.formDataList;
  }

  /** Setter for property formDataList.
     * @param formDataList New value of property formDataList.
   */
  public void setFormDataList(List formDataList) {
    this.formDataList = formDataList;
  }
  
  public String getSubmitFlag() {
    return submitFlag;
  }
  
  public void setSubmitFlag(String submitFlag) {
    this.submitFlag = submitFlag;
  }
      	
}
